import instance from "./instance.js"

export function post(url,obj){
    return instance({
        method:"post",
        url,
        ...obj
    })
}
export function get(url,obj={}){
    return instance({
        method:"get",
        url,
        ...obj
    })
}